import { Side, MenuData } from "./components/side.slint";
import { Job } from "./pages/job.slint";
import { Icons } from "./icons/index.slint";

export component MainWindow inherits Window {
    width: 1400px;
    height: 800px;
    HorizontalLayout {
        spacing: 24px;

        side := Side {
            menus: [
                {icon: Icons.check-circle, title: @tr("Job")},
                {icon: Icons.check-circle, title: @tr("menu 1")},
                {icon: Icons.check-circle, title: @tr("menu 1")},
                {icon: Icons.check-circle, title: @tr("menu 1")},
                {icon: Icons.check-circle, title: @tr("menu 1")},
                {icon: Icons.check-circle, title: @tr("menu 1")},
            ];
        }

        if side.selected_index == 0: Job {

        }
    }
}